package com.library.domain.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @author : 凉小天
 * @date : 2021/6/25 11:33
 */
@Data
@TableName(value = "reader")
public class Reader implements Serializable {
    private static final long serialVersionUID = 1L;

    //读者ID
    @TableId(type = IdType.AUTO)
    private Long readerId;

    //xing姓名
    private String username;

    //密码
    private String password;

    //性别( 0男 ,1女,2未知)
    private String gender;

    //电环号码
    private String phone;

    //地址
    private String address;
}